<template>
  <el-table
    :data="security.listData"
    border
    :cell-style="tableCellStyle"
    style="width: 100%"
  >
    <el-table-column
      prop="sort"
      label="序号"
      width="100"
      align="center"
    ></el-table-column>

    <el-table-column prop="item" label="安全措施" align="center">
    </el-table-column>

    <el-table-column prop="value" label="对象" width="180" align="center">
    </el-table-column>
  </el-table>
</template>
<script>
export default {
  props: {
    security: {
      type: Object,
      default: () => {
        return {};
      },
    },
  },
  data() {
    return {};
  },
  methods: {
    //设置td样式
    tableCellStyle() {
      return {
        "border-bottom": "1px solid #ebebeb",
        padding: "5px 0!important",
      };
    },
  },
};
</script>